<?php
if(!defined('IN_IBEIKE')) {
	exit('Access Denied');
}

class table_common_organization extends common_table
{
	public function __construct() {

		$this->_table = 'common_organization';
		$this->_pk    = 'oid';

		parent::__construct();
	}
	public function fetch_all_by_oid($oid){
		if(!empty($oid)&&$oid){
			return DB::fetch_all('SELECT * FROM %t WHERE oid=%s',array($this->_table,$oid));//返回数组包含各个字段的值
		}
		return false;
	}

	
}
?>